import { post, get } from "@/http/request";

// 定义的接口
export const userLogin = async (data) => {
    return post < LoginResponse > ({}, "/login", data);
};

export const refreshUserInfo = async (data) => {
    return post < LoginResponse > ({}, "/getUserInfo", data);
};
